package com.example.tellwin.question.contract;

import com.example.tellwin.base.BaseContract;
import com.example.tellwin.mine.bean.GradeBean;
import com.example.tellwin.mine.bean.SubjectBean;
import com.example.tellwin.question.bean.VoiceBean;

import java.util.List;

/**
 * @author : LinZePeng
 * @date : 2020/12/1
 * @Describe ：
 **/
public interface QuestionContract {
    interface View extends BaseContract.BaseView {
        void gradeListResult(List<GradeBean> gradeBeans);
        void subjectListResult(List<SubjectBean> subjectBeans);
        void uploadPhotoResult(List<String>photoUrls);
        void uploadVocieResult(List<VoiceBean>voiceUrls);
        void uploadQuestionSuccess();
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getGradeList();
        void getSubjectList();
        void uploadPhoto(List<String>photoPaths);
        void uploadVoice(List<VoiceBean>voiceBeans);
        void uploadQuestion(List<String>photoUrls , List<VoiceBean>voiceUrls ,String gradeId ,String subjectId ,String title , String content);
    }
}
